package org.ix.dynamicapis.model.request;

import org.ix.dynamicapis.model.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import javax.validation.constraints.*;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "接口业务系统保存请求实体")
@Getter
@Setter
@ToString
public class ApiSystemSaveRequest extends BaseEntity {

    @ApiModelProperty(value = "接口ID", position = 1, required = true)
    @NotNull(message = "id(接口ID)不能为空")
    private Integer id;

    @ApiModelProperty(value = "业务系统编码", position = 2)
    private String systemCode;

    @ApiModelProperty(value = "业务系统名称", position = 3)
    private String systemName;

    @ApiModelProperty(value = "接口基础路径", position = 4)
    private String baseUrl;

    @ApiModelProperty(value = "接口刷新路径", position = 5)
    private String refreshUrl;

    @ApiModelProperty(value = "备注", position = 6)
    private String remark;

    @ApiModelProperty(value = "扩展信息", position = 7)
    private String extInfo;
}
